package com.lovo.po;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.stereotype.Component;

import java.io.Serializable;

@Data
@Component
@TableName("t_role")
@NoArgsConstructor
public class Role implements Serializable {

    @TableId(value = "role_id",type = IdType.AUTO)
    private Integer roleId;
    private String roleName;


}
